package com.chenxbook.modules.examples.java;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

public class JoeSmoe implements Serializable {
    private static final long serialVersionUID = 1699202111845025996L;

    static Map<String, Integer> handshakes = new HashMap<>();

    //为成员Map handshakes初始化2个 键-值 对
    {
        handshakes.put("force", 5);
        handshakes.put("duration", 12);
    }

    public Map<String, Integer> getHandshakes() {
        return handshakes;
    }
}
